//index.js
//获取应用实例
const app = getApp()
const HTTP=require('../../modules/http.js')
Page({
  data: {
    active: 0,
    Data:{}
  },
  async onLoad(){
    let res=await HTTP.request();
    console.log(res);
    var {Android}=res.data.results;
    var {App}=res.data.results;
    var {iOS}=res.data.results;
    var {拓展资料}=res.data.results;
    var {前端}=res.data.results;
    var {福利}=res.data.results;
    var {休息视频}=res.data.results;
    var {瞎推荐}=res.data.results;
    var Data={};
    Data.Android=Android;
    Data.App=App;
    Data.iOS=iOS;
    Data.xxsp=休息视频;
    Data.qd=前端;
    Data.fl=福利;
    Data.tzzl=拓展资料;
    Data.xtj=瞎推荐;
    await this.setData({
      Data,
    })
    
    
  }
})
